package com.gitee.proxy.util;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class LogUtil {


    public static void info(Class<?> clazz, String msg, Object... args) {
        Logger log = LoggerFactory.getLogger(clazz);
        log.info(msg, args);
    }

    public static void error(Class<?> clazz, String msg, Throwable e, Object... args) {
        Logger log = LoggerFactory.getLogger(clazz);
        log.error(msg, args, e);
    }
}
